<?php
/**
 * Created by PhpStorm.
 * User: 聪
 * Date: 2019/7/15
 * Time: 18:05
 */

namespace app\front\controller;


use app\front\logic\ContractLogic;

class Contract extends Base
{
    private $logic = null;

    public function initialize()
    {
        $this->logic = new ContractLogic();
    }

    public function get_list(): string
    {
        return $this->logic::get_list($this->request->param());
    }

    public function get_detail(): string
    {
        return $this->logic::get_detail($this->request->param());
    }

    public function add(): string
    {
        return $this->logic::add($this->request->param());

    }

}